package com.scheduling.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.scheduling.system.mapper.ShiftschedulemanagementMapper;
import com.scheduling.system.domain.Shiftschedulemanagement;
import com.scheduling.system.service.IShiftschedulemanagementService;

/**
 * 班次内日程管理Service业务层处理
 * 
 * @author mj
 * @date 2025-05-07
 */
@Service
public class ShiftschedulemanagementServiceImpl implements IShiftschedulemanagementService 
{
    @Autowired
    private ShiftschedulemanagementMapper shiftschedulemanagementMapper;

    /**
     * 查询班次内日程管理
     * 
     * @param id 班次内日程管理主键
     * @return 班次内日程管理
     */
    @Override
    public Shiftschedulemanagement selectShiftschedulemanagementById(Long id)
    {
        return shiftschedulemanagementMapper.selectShiftschedulemanagementById(id);
    }

    /**
     * 查询班次内日程管理列表
     * 
     * @param shiftschedulemanagement 班次内日程管理
     * @return 班次内日程管理
     */
    @Override
    public List<Shiftschedulemanagement> selectShiftschedulemanagementList(Shiftschedulemanagement shiftschedulemanagement)
    {
        return shiftschedulemanagementMapper.selectShiftschedulemanagementList(shiftschedulemanagement);
    }

    /**
     * 新增班次内日程管理
     * 
     * @param shiftschedulemanagement 班次内日程管理
     * @return 结果
     */
    @Override
    public int insertShiftschedulemanagement(Shiftschedulemanagement shiftschedulemanagement)
    {
        return shiftschedulemanagementMapper.insertShiftschedulemanagement(shiftschedulemanagement);
    }

    /**
     * 修改班次内日程管理
     * 
     * @param shiftschedulemanagement 班次内日程管理
     * @return 结果
     */
    @Override
    public int updateShiftschedulemanagement(Shiftschedulemanagement shiftschedulemanagement)
    {
        return shiftschedulemanagementMapper.updateShiftschedulemanagement(shiftschedulemanagement);
    }

    /**
     * 批量删除班次内日程管理
     * 
     * @param ids 需要删除的班次内日程管理主键
     * @return 结果
     */
    @Override
    public int deleteShiftschedulemanagementByIds(Long[] ids)
    {
        return shiftschedulemanagementMapper.deleteShiftschedulemanagementByIds(ids);
    }

    /**
     * 删除班次内日程管理信息
     * 
     * @param id 班次内日程管理主键
     * @return 结果
     */
    @Override
    public int deleteShiftschedulemanagementById(Long id)
    {
        return shiftschedulemanagementMapper.deleteShiftschedulemanagementById(id);
    }
}
